package com.dome.user.entity.bo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.dome.client.entity.po.BaseEntity;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsAutoIncrement;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsKey;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Getter;
import lombok.Setter;

@Table(name = "t_user")
@TableName(value = "t_user")
@Getter
@Setter
public class UserEntity extends BaseEntity {


    @Column(name = "user_name",comment = "姓名")
    @TableField(value = "user_name")
    private String userName;

    @Column(name = "email",comment = "email")
    @TableField(value = "email")
    private String email;

    @Column(name = "password",comment = "密码")
    @TableField(value = "password")
    private String password;

    @Column(name = "nick_name",comment = "昵称")
    @TableField(value = "nick_name")
    private String nickName;
}
